/**
 * Copyright &copy; 2016 CNJSON All rights reserved.
 */
package com.hongsuan.pplive.modules.live.entity;

import org.hibernate.validator.constraints.Length;

import com.cnjson.db.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author cgli
 * @version 2016-04-18
 */
public class LiveReplay extends DataEntity<LiveReplay> {

	private static final long serialVersionUID = 1L;
	private String name;		// 名称
	private String url;		// 回放地址

	public LiveReplay() {
		super();
	}

	public LiveReplay(String id){
		super(id);
	}

	@Length(min=0, max=255, message="名称长度必须介于 0 和 255 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Length(min=0, max=255, message="回放地址长度必须介于 0 和 255 之间")
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}